import type { RouteObject } from 'react-router-dom';
import LazyHoc from '@/components/LazyHoc';

export const routes: RouteObject[] = [
  {
    path: '/',
    element: LazyHoc(() => import('@/pages/main'))
  },
  {
    path: '/signin',
    element: LazyHoc(() => import('@/pages/signin'))
  },
  {
    path: '/signup',
    element: LazyHoc(() => import('@/pages/signup'))
  }
];